<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<h1>显示学生信息</h1>

<table border="0" align="center">
    	<tr>
    		<td>学生编号<td>
    		<td>学生姓名<td>
    		<td>密码<td>
    		<td>年级ID<td>
    		<td>学生性别<td>
    		<td>学生电话<td>
    		<td>学生邮箱<td>
    		<td>出生日期<td>
    		<td>学生住址<td>
    		<td>操作<td>
    	<tr>
    	<c:forEach var="s" items="${slist}">
    		<tr>
    			<td>${s.studentNo}<td>
    			<td>${s.studentname}<td>
    			<td>${s.loginpwd}<td>
    			<td>${s.gradeid}<td>
    			<td>${s.sex}<td>
    			<td>${s.phone}<td>
    			<td>${s.email}<td>
    			<td>${s.borndate}<td>
    			<td>${s.address}<td>
    			<td><a href="../updateStudent.jsp?stuNo=${s.studentNo}&sName=${s.studentname}&spwd=${s.loginpwd}&sgradeid=${s.gradeid}&sSex=${s.sex}&sphone=${s.phone}&semail=${s.email}&sdate=${s.borndate}&saddress=${s.address}">修改</a>
    			<a href="delStudent?studentNo=${s.studentNo}">删除</a>
    			<a href="../addStudent.jsp">添加</a>
    			<td>
    		<tr>
    	</c:forEach>
    </table>


</body>
</html>